package com.itheima.mapper;

import com.itheima.pojo.EmpExpr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpExprMapper {
    void saveBatch(@Param("exprList") List<EmpExpr> exprList);

    void delBatchEmp(@Param("ids") List<Integer> ids);

    @Select("select * from emp_expr as ee where emp_id =#{id}")
    List<EmpExpr> selectEmpById(Integer id);
}
